package com.itheima.service;

import com.itheima.pojo.Employee;
import com.itheima.vo.EmployeeVo;
import com.itheima.vo.PagingQueryVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author :WuJunJie
 * packageName :com.itheima.service
 * fileName :EmployeeService
 * creationTime :2022-11-20 17:23
 */
public interface EmployeeService {


    EmployeeVo findByUsernameAndPassword(String username, String password);

    Boolean insertEmployee(Employee employee);

    PagingQueryVo<EmployeeVo> selectPage(String name, Integer page, Integer pageSize);

    EmployeeVo selectById(String id);

    Boolean updateEmployee(Employee employee);
}
